package com.xyq.fs.index;

import java.nio.file.Path;

import org.apache.lucene.document.Document;

import com.xyq.fs.base.MyDirectoryS;


public class IndexFileName implements IndexFileInf{

	@Override
	public void indexFile(Path path, String bz) {

		Document doc = null;
		doc = getSimDoc(path, "其他", bz);
		MyDirectoryS.addDocument(doc);
		doc.clear();
		doc = null;
		path = null;
		bz = null;
	}

}
